package com.lzh.main.service.impl;

import com.lzh.main.consumer.WebSocketServer;
import com.lzh.main.service.StartGameService;
import org.springframework.stereotype.Service;

@Service
public class StartGameServiceImpl implements StartGameService {
    @Override
    public String startGame(Integer aId, Integer bId, Integer cId) {
        System.out.println("startGame: " + aId + " " + bId + " " + cId);
        WebSocketServer.startGame(aId, bId, cId);
        return "start game success";
    }
}
